package com.wuwei.poi;

import com.wuwei.poi.ppt.PPTX;
import com.wuwei.poi.utils.FileUtils;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        String path = "D:\\uploads\\OneDrive\\3、M8培训课件";
        List<String> files = FileUtils.getFiles(path, ".pptx");
        for (int i = 0; i < files.size(); i++) {
//        for (int i = 0; i < 1; i++) {
            String string = files.get(i);
            try {
                PPTX.editPPTX(string);
            } catch (Exception e) {
                System.out.println("error"+string);
                e.printStackTrace();
                continue;
            }
        }
    }
}
